package org.fengling.readingplatform.model.entity.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.fengling.readingplatform.model.entity.base.BaseEntity;

@Data
@Schema(description = "用户实体类")
public class UserInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "经验")
    private Long experience;

    @Schema(description = "等级")
    private String level;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "电话号码")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "状态：1为正常，0为禁止")
    private Integer status;
}